{% extends 'base.html'%}
{% block menutab %}
<div class="menutab currenttab"><a href="/">广播大厅</a></div>
<div class="menutab"><a href="/member/">我的主页</a></div>
<div class="menutab"><a href="/dailyreport/">每日总结</a></div>
{% endblock %}
{% block main %}
<div id="TopicWrap">
{% include 'topics.html' %}
</div>
{% if paginator.count > paginator.per_page %}
<div class="pagination">
	<span class="step-links">
		{% if topics.has_previous %}
			<span class="prev round-corner-button"><a href="?page={{ topics.previous_page_number }}">上一页</a></span>
		{% endif %}

		<span class="current round-corner-button">
			页码 {{ topics.number }}/{{ topics.paginator.num_pages }}
		</span>

		{% if topics.has_next %}
			<span class="next round-corner-button"><a href="?page={{ topics.next_page_number }}">下一页</a></span>
		{% endif %}
	</span>
</div>
{% endif %}

{% endblock %}